package com.example.file;

import org.junit.Test;

import java.nio.file.Paths;

/**
 *
 *
 * @author qingyan 2022-03-09
 */
public class TempFile {


    @Test
    public void temp(){
        // idea 动态修改参数值
        String temp = "test";
        System.out.println(System.getenv());
        System.out.println(System.getProperty("java.io.tmpdir"));
        System.out.println(Paths.get(System.getProperty("java.io.tmpdir")));
        System.out.println(temp);
    }
}
